import * as types from './actionTypes'

export function getAward(data) {
  return {
    type: types.AWARD_LIST,
    data: data
  }
}
export function addTodo(text) {
  return { type: types.ADD_TODO, text }
}

export function completeTodo(index) {
  return { type: types.COMPLETE_TODO, index }
}

export function setVisibilityFilter(filter) {
  return { type: types.SET_VISIBILITY_FILTER, filter }
}
